<template>
	<view>
		<!-- <page-head :title="'使用协议'" :headtype="2"></page-head> -->
		<view class="main marginAuto">
			<uv-parse :content="content"></uv-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				apifun:this.apifun,
				content:''
			};
		},
		onLoad() {
			this.initData()
		},
		methods: {
			initData(){
				let sendData = {
					key:'使用协议'
				}
				this.apifun.unirequest('/coach/index/getAgreement','post',sendData,(res)=>{
					if(res.code === 200){
						let datas = res.data;
						this.content = datas
					}else{
						this.apifun.toast(res.msg)
					}
				})
			}
		},
	};
</script>

<style scoped lang="scss">
	.main{
		width: 690rpx;
		padding: 20rpx 0;
	}
</style>